home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tk / movetoplev.z / movetoplev
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((3333TTTTkkkk))))                          TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tk_MoveToplevelWindow - Adjust the position of a top-level window
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  13.  
  14.      TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((_t_k_w_i_n, _x, _y))))
  15.  
  16. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  17.      Tk_Window   _t_k_w_i_n   (in)      Token for top-level window to move.
  18.  
  19.      int         _x       (in)      New x-coordinate for the top-left pixel of
  20.                                    _t_k_w_i_n's border, or the top-left pixel of
  21.                                    the decorative border supplied for _t_k_w_i_n by
  22.                                    the window manager, if there is one.
  23.  
  24.      int         _y       (in)      New y-coordinate for the top-left pixel of
  25.                                    _t_k_w_i_n's border, or the top-left pixel of
  26.                                    the decorative border supplied for _t_k_w_i_n by
  27.                                    the window manager, if there is one.
  28.  
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      In general, a window should never set its own position;  this should be
  32.      done only by the geometry manger that is responsible for the window.  For
  33.      top-level windows the window manager is effectively the geometry manager;
  34.      Tk provides interface code between the application and the window manager
  35.      to convey the application's desires to the geometry manager.  The desired
  36.      size for a top-level window is conveyed using the usual
  37.      TTTTkkkk____GGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeeqqqquuuueeeesssstttt mechanism.  The procedure TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww may be
  38.      used by an application to request a particular position for a top-level
  39.      window;  this procedure is similar in function to the wwwwmmmm ggggeeeeoooommmmeeeettttrrrryyyy Tcl
  40.      command except that negative offsets cannot be specified.  It is invoked
  41.      by widgets such as menus that want to appear at a particular place on the
  42.      screen.
  43.  
  44.      When TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww is called it doesn't immediately pass on the
  45.      new desired location to the window manager;  it defers this action until
  46.      all other outstanding work has been completed, using the TTTTkkkk____DDDDooooWWWWhhhheeeennnnIIIIddddlllleeee
  47.      mechanism.
  48.  
  49.  
  50. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  51.      position, top-level window, window manager
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.